import 'dart:convert';
import 'package:ichinesereader/models/common/Statistic.dart';

SchoolBasicStatics schoolBasicStaticsFromJson(String str) => SchoolBasicStatics.fromJson(json.decode(str));

String schoolBasicStaticsToJson(SchoolBasicStatics data) => json.encode(data.toJson());

class SchoolBasicStatics {
    SchoolBasicStatics({
        this.status,
        this.message,
        this.result,
    });

    int? status;
    String? message;
    Statistic? result;

    factory SchoolBasicStatics.fromJson(Map<String, dynamic> json) => SchoolBasicStatics(
        status: json["status"],
        message: json["message"],
        result: Statistic.fromJson(json["result"]),
    );

    Map<String, dynamic> toJson() => {
        "status": status,
        "message": message,
        "result": result?.toJson(),
    };
}

